package com.dm.cloud.auth.common.po;

import com.dm.cloud.basepo.po.BasePo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
   * @author hcx
   * @type VAuthUser.java
   * @desc VAuthUser
   */

@Entity
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "V_V_AUTH_USER")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "VAuthUser")
public class VAuthUser extends BasePo {

      /** 用户名 **/ 
      @Schema(description = "用户名")
      @Column(name = "user_name")
      private String userName;
      /** 职位 **/ 
      @Schema(description = "职位")
      @Column(name = "title")
      private String title;
      /** 政治面貌 **/ 
      @Schema(description = "政治面貌")
      @Column(name = "political_status")
      private String politicalStatus;
      /** 邮箱 **/ 
      @Schema(description = "邮箱")
      @Column(name = "email")
      private String email;
      /** 性别 **/ 
      @Schema(description = "性别")
      @Column(name = "sex")
      private String sex;
      /** 入职时间 **/ 
      @Schema(description = "入职时间")
      @Column(name = "employ_time")
      private java.util.Date employTime;
      /** 中文名 **/ 
      @Schema(description = "中文名")
      @Column(name = "chinese_name")
      private String chineseName;
      /** 外文名 **/ 
      @Schema(description = "外文名")
      @Column(name = "english_name")
      private String englishName;
      /** 密码 **/ 
      @Schema(description = "密码")
      @Column(name = "password")
      private String password;
      /** 是否冻结 **/ 
      @Schema(description = "是否冻结")
      @Column(name = "freeze")
      private Integer freeze;
      /** 安全密级 **/ 
      @Schema(description = "安全密级")
      @Column(name = "secret_level")
      private String secretLevel;
      /** 联系电话 **/ 
      @Schema(description = "联系电话")
      @Column(name = "phone")
      private String phone;
      /** 备注 **/ 
      @Schema(description = "备注")
      @Column(name = "comment")
      private String comment;
      /** 所属机构ID **/ 
      @Schema(description = "所属机构ID")
      @Column(name = "org_id")
      private String orgId;
      /** 密码salt,支持多层加密,使用小写逗号分割。 **/ 
      @Schema(description = "密码salt,支持多层加密,使用小写逗号分割。")
      @Column(name = "salt")
      private String salt;
      /** 机构名称 **/ 
      @Schema(description = "机构名称")
      @Column(name = "orgname")
      private String orgname;
      /** null **/ 
      @Schema(description = "null")
      @Column(name = "rname")
      private String rname;
      /** null **/ 
      @Schema(description = "null")
      @Column(name = "roleid")
      private String roleId;

}
